package src.Entities;

/**
 *
 * @author Patty
 */
public class Usuario {

    private int userId;
    private int personaId;
    private String pass;
    private String mail;
    private char esAdmin;

    public Usuario() {
    }

    public Usuario(int userId, int personaId, String pass, String mail, char esAdmin) {
        this.setUserId(userId);
        this.setPersonaId(personaId);
        this.setpass(pass);
        this.setmail(mail);
        this.setEsAdmin(esAdmin);
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getpass() {
        return pass;
    }

    public void setpass(String pass) {
        this.pass = pass;
    }

    public int getPersonaId() {
        return personaId;
    }

    public void setPersonaId(int personaId) {
        this.personaId = personaId;
    }

    public String getmail() {
        return mail;
    }

    public void setmail(String mail) {
        this.mail = mail;
    }

    public char getEsAdmin() {
        return esAdmin;
    }

    public void setEsAdmin(char esAdmin) {
        this.esAdmin = esAdmin;
    }
}
